package com.techstar.ats.status;

import java.util.Set;

public enum EntryStatus implements StatusEnumerated {
	DIR_LEFT("方向朝向向左"),
	DIR_RIGHT("方向朝向向右"),
	DIR_LOCKED("方向锁闭");

	private final String literal;

	EntryStatus(String literal) {
		this.literal = literal;
	}

	@Override
	public String literal() {
		return this.literal;
	}

	public static Set<EntryStatus> valueOf(int mask) {
		return StatusEnumerated.valueOf(EntryStatus.class, mask);
	}
}
